<?php
require 'settings.php';
require 'db.php';
?>

<html>
<head>
<title><?php echo $corp_name?> Industry Manager - Add a BPO to library</title>
</head>
<body>
<h1 class=c_page_title>Add an original blueprint to library</h1>
<h2 class="c_step_num">Step 1</h2>
<!-- Create a form for choosing BPO type -->
Choose BPO category:
<form id="bpo_lib_add_step1" action="add_bpo_to_library2.php" method="post">
	<select name="bpo_category">
	<option value="0">---Choose blueprint category---</option>
	<?php
		//code to get all blueprint types from DB
		$get_bpo_categories->bind_result( $category_id, $category_name );
		$get_bpo_categories->execute();
		while( $get_bpo_categories->fetch() )
		{
			echo '<option value="'.$category_id.'">'.$category_name.'</option>'."\n";
		}
		$get_bpo_categories->close();
	?>
	</select>
	<input type="submit" value="Next>>>" />
</form>

OR look for BPO by name:
<form id="bpo_lib_add_step1" action="add_bpo_to_library2_alt.php" method="post">
	<label for="bpo_name_like">BPO name:</label>
	<input name="bpo_name_like" type="text" value="" />
	<input type="submit" value="Next>>>" />
</form>

<br />
<a href="index.php">Back to main screen</a>
</body>
</html>
